//
//  CPUserDefaultsTool.h
//  Learner Kit
//
//  Created by Wade on 14-8-6.
//  Copyright (c) 2014年 .. All rights reserved.
//

#import <Foundation/Foundation.h>

//typedef enum 
@interface QKUserDefaultsTool : NSObject

+ (id)getObjectValueForKey:(NSString *)key ;
+ (void)saveWithObjectValue:(id)values forKey:(NSString *)key;

/**
 *  保存字符串
 */
+ (void)saveWithValue:(NSString *)value forKey:(NSString *)key;
/**
 *  获取字符串
 */
+ (NSString *)getValueForKey:(NSString *)key;
/**
 *  移除字符串
 */
+ (void)removeValueForKey:(NSString *)key;

/**
 *  获取字典类型
 */
+ (NSDictionary *)getDictionaryValueForKey:(NSString *)key;

/**
 *  保存字典类型
 */
+ (void)saveWithDictionaryValue:(NSDictionary *)value forKey:(NSString *)key;

/**
 *  获取整形
 */
+ (NSInteger)getIntegerValueForKey:(NSString *)key;
/**
 *  保存整形
 */
+ (void)saveWithIntegerValue:(NSInteger)value forKey:(NSString *)key;

+ (float)getFloatValueForKey:(NSString *)key;

+ (void)saveWithFloatValue:(float)value forKey:(NSString *)key;


@end
